package com.adel.earthquake;

import java.io.Serializable;

public class Properties implements Serializable {
	private float mag;
	private long time;
	private String place;
	private int tz;
	private String url;
	private float felt;
	private float cdi;
	private float mmi;
	private String alert;
	private String status;
	private String tsunami;
	private String sig;
	private String net;
	private String code;
	private String ids;
	private String sources;
	private String types;
	
	public static class Geometry implements Serializable{
		private String type;
		private float[] coordinates;
		public String getType() {
			return type;
		}
		public void setType(String type) {
			this.type = type;
		}
		public float[] getCoordinates() {
			return coordinates;
		}
		public void setCoordinates(float[] coordinates) {
			this.coordinates = coordinates;
		}
	}
	
	public static class Features implements Serializable{
		private String type;
		private Properties properties;
		private Geometry geometry;
		private String id;
		public String getType() {
			return type;
		}
		public void setType(String type) {
			this.type = type;
		}
		public Properties getProperties() {
			return properties;
		}
		public void setProperties(Properties properties) {
			this.properties = properties;
		}
		public Geometry getGeometry() {
			return geometry;
		}
		public void setGeometry(Geometry geometry) {
			this.geometry = geometry;
		}
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
	}

	public float getMag() {
		return mag;
	}

	public void setMag(float mag) {
		this.mag = mag;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public int getTz() {
		return tz;
	}

	public void setTz(int tz) {
		this.tz = tz;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public float getFelt() {
		return felt;
	}

	public void setFelt(float felt) {
		this.felt = felt;
	}

	public float getCdi() {
		return cdi;
	}

	public void setCdi(float cdi) {
		this.cdi = cdi;
	}

	public float getMmi() {
		return mmi;
	}

	public void setMmi(float mmi) {
		this.mmi = mmi;
	}

	public String getAlert() {
		return alert;
	}

	public void setAlert(String alert) {
		this.alert = alert;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTsunami() {
		return tsunami;
	}

	public void setTsunami(String tsunami) {
		this.tsunami = tsunami;
	}

	public String getSig() {
		return sig;
	}

	public void setSig(String sig) {
		this.sig = sig;
	}

	public String getNet() {
		return net;
	}

	public void setNet(String net) {
		this.net = net;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public String getSources() {
		return sources;
	}

	public void setSources(String sources) {
		this.sources = sources;
	}

	public String getTypes() {
		return types;
	}

	public void setTypes(String types) {
		this.types = types;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

}
